// 链接类型枚举
export enum LinkTypeEnum {
    'BASIC' = 'basic',
    'CUSTOM' = 'custom'
}

// 链接接口定义
export interface Link {
    type: string
    path: string
    name?: string
    query?: Record<string, any>
}

// PC端链接
export const PcBasicLinks: Link[] = [
    {
        type: LinkTypeEnum.BASIC,
        name: '首页',
        path: '/'
    },
    {
        type: LinkTypeEnum.BASIC,
        name: 'AI对话',
        path: '/chats'
    },
    {
        type: LinkTypeEnum.BASIC,
        name: 'AI阅读',
        path: '/apply/docs'
    },
    {
        type: LinkTypeEnum.BASIC,
        name: 'AI音乐',
        path: '/apply/music'
    },
    {
        type: LinkTypeEnum.BASIC,
        name: 'AI绘画(MJ)',
        path: '/apply/draws/mj'
    },
    {
        type: LinkTypeEnum.BASIC,
        name: 'AI绘画(Dalle)',
        path: '/apply//draws/dalle'
    },
    {
        type: LinkTypeEnum.BASIC,
        name: 'AI绘画(豆包)',
        path: '/apply/draws/doubao'
    },
    {
        type: LinkTypeEnum.BASIC,
        name: 'AI视频(Luma)',
        path: '/apply/video/luma'
    },
    {
        type: LinkTypeEnum.BASIC,
        name: 'AI视频(智谱)',
        path: '/apply/video/zhipu'
    },
    {
        type: LinkTypeEnum.BASIC,
        name: '智能体',
        path: '/agent/robot'
    },
    {
        type: LinkTypeEnum.BASIC,
        name: '知识库',
        path: '/agent/know'
    },
    {
        type: LinkTypeEnum.BASIC,
        name: 'MCP工具',
        path: '/agent/mcp'
    },
    {
        type: LinkTypeEnum.BASIC,
        name: '应用广场',
        path: '/square'
    },
    {
        type: LinkTypeEnum.BASIC,
        name: '个人中心',
        path: '/user/center'
    },
    {
        type: LinkTypeEnum.BASIC,
        name: '在线充值',
        path: '/user/recharge'
    },
    {
        type: LinkTypeEnum.BASIC,
        name: '订阅套餐',
        path: '/user/subscribe'
    },
    {
        type: LinkTypeEnum.BASIC,
        name: '账单记录',
        path: '/user/billing'
    },
    {
        type: LinkTypeEnum.BASIC,
        name: '账户明细',
        path: '/user/balance'
    },
    {
        type: LinkTypeEnum.BASIC,
        name: '用量明细',
        path: '/user/usages'
    },
    {
        type: LinkTypeEnum.BASIC,
        name: '服务协议',
        path: '/policy/service'
    },
    {
        type: LinkTypeEnum.BASIC,
        name: '隐私协议',
        path: '/policy/private'
    },
    {
        type: LinkTypeEnum.BASIC,
        name: '支付协议',
        path: '/policy/payment'
    }
]

// H5端链接
export const H5BasicLinks: Link[] = [
    {
        type: LinkTypeEnum.BASIC,
        name: '首页H5',
        path: '/pages/index/index'
    },
    {
        type: LinkTypeEnum.BASIC,
        name: '对话H5',
        path: '/pages/chats/index'
    }
]
